import request from '@/utils/request';

// 审批通过
export function workflowPass(data) {
  return request({
    url: '/maintain/maintain/businessApproval/workflow-pass',
    method: 'post',
    params: data
  })
}

// 审批拒绝
export function workflowRefuse(data) {
  return request({
    url: '/maintain/maintain/businessApproval/workflow-refuse',
    method: 'post',
    params: data
  })
}

// 审批流程详情
export function commentByTaskid(data) {
  return request({
    url: '/maintain/maintain/wf-business/comment-by-taskid',
    method: 'get',
    params: data
  })
}